#ifndef __ESSHADER_H__
#define __ESSHADER_H__

#include "Supports\Header.h"

class ESShader
{
private:
	GLuint m_VertexShader;
	GLuint m_FragmentShader;
public:
	GLuint m_Program;
private:
	GLuint esLoadShader(GLenum type, char * filename);
	GLuint esLoadProgram(GLuint vertexShader, GLuint fragmentShader);
protected:
	ESShader();
	virtual __INT32 esInitShader(char* szVertexShader, char* szFragmentShader);
public:
	virtual ~ESShader();
};

#endif